﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TiPort.TiEntityObjects;
using AppPort;
using TI_EntityLib.TiEntityObjects.DayLog;
using TiEntityObject.Transport;
using System.IO;
using TI;
using TiEntityObject.Notification;

namespace Controllers
{
    public class ReportController : Controller 
    {
        private static ReportController instance;

        public static ReportController Instance
        {
            get
            {
                if (ReportController.instance == null)
                {
                    ReportController.instance = new ReportController();
                }
                return ReportController.instance;
            }
        }


        public string MarketSizeByContracts(ServiceCmd p)
        {
            return Controllers.ReportControllerCommands.MarketSizeByContracts.Run(p);   
        }

        public string MarketSizeByMaxPrice(ServiceCmd p)
        {
            return Controllers.ReportControllerCommands.MarketSizeByMaxPrice.Run(p);
        }
                
    }
}
